package com.example.ibsp_demo.pojo.entity.content;

import java.util.Date;

public class Favorite {
    private Integer fid;
    private Integer uid;
    private Integer ctid;
    private Date favoriteTime;

    public Favorite() {
    }

    public Favorite(Integer fid, Integer uid, Integer ctid, Date favoriteTime) {
        this.fid = fid;
        this.uid = uid;
        this.ctid = ctid;
        this.favoriteTime = favoriteTime;
    }

    @Override
    public String toString() {
        return "Favorite{" +
                "fid=" + fid +
                ", uid=" + uid +
                ", ctid=" + ctid +
                ", favoriteTime=" + favoriteTime +
                '}';
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getCtid() {
        return ctid;
    }

    public void setCtid(Integer ctid) {
        this.ctid = ctid;
    }

    public Date getFavoriteTime() {
        return favoriteTime;
    }

    public void setFavoriteTime(Date favoriteTime) {
        this.favoriteTime = favoriteTime;
    }
}
